package com.wuxiaoqin.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2021-10-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Address对象", description="")
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ADD_id", type = IdType.AUTO)
    private Integer addId;

    @ApiModelProperty(value = "收件人id")
    @TableField("ADD_userid")
    private Integer addUserid;

    @ApiModelProperty(value = "收货人地址")
    @TableField("ADD_address")
    private String addAddress;

    @ApiModelProperty(value = "收货人姓名")
    @TableField("ADD_name")
    private String addName;

    @ApiModelProperty(value = "收货人电话")
    @TableField("ADD_phone")
    private String addPhone;

    @ApiModelProperty(value = "地址记录有效性")
    @TableField("ADD_state")
    private Integer addState;


    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    @TableField(select = false)
    private Integer deleted;


}
